package javaTest;

public class Calculation {
    public void add(int a, int b) {
        System.out.println(a + "+" + b + "=" + (a + b));
    }

    public void sub(int a, int b) {
        System.out.println(a + "-" + b + "=" + (a - b));
    }

    public void times(int a, int b) {
        System.out.println(a + "*" + b + "=" + (a * b));
    }

    public void div(int a, int b) {
        System.out.println(a + "/" + b + "=" + (a / b));
    }
}
